package com.rx.base.demo.common.page;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class PageBean<T> implements Serializable {
    private static final long serialVersionUID = 1L;
    @ApiModelProperty("总数")
    private Long Total;

    @ApiModelProperty("数据")
    private List<T> data;
}
